home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 03 - 1987 / 03.03 Mar 87 / Printer MPW sources / StringFormat.p < prev   
Encoding:
Text File  |  1986-12-01  |  588 b   |  29 lines  |  [TEXT/MPS ]

  1. UNIT StringFormat;
  2. (*     @(#) StringFormat.p 11/28/86
  3.  
  4.     WHAT:    Definition of string formatting library
  5.     WHO:    Joel West, Western Software Technology
  6.     WHEN:    November 1986
  7.     HOW:    See StringFormat.inc.p
  8. *)
  9.  
  10. INTERFACE
  11.  
  12.     USES
  13.         MemTypes,
  14.     QuickDraw,
  15.     OSIntf,
  16.     ToolIntf,
  17.     PackIntf;
  18.  
  19.     PROCEDURE SWrite(VAR s: Str255; c: CHAR);
  20.     PROCEDURE SWriteHex(VAR s: Str255; n: LongInt; w: INTEGER);
  21.     PROCEDURE SWriteInt(VAR s: Str255; n: LongInt; w: INTEGER);
  22.     PROCEDURE SWriteString(VAR s: Str255; s2: Str255);
  23.  
  24. IMPLEMENTATION
  25.  
  26. (* Include the actual implementation source *)
  27. {$I StringFormat.inc.p}
  28.  
  29. END.